VERSION 5.00
Object = "{F0D2F211-CCB0-11D0-A316-00AA00688B10}#1.0#0"; "MSDATLST.OCX"
Begin VB.Form frmUltimos6Meses 
   BackColor       =   &H80000009&
   BorderStyle     =   5  'Sizable ToolWindow
   Caption         =   "Produccion Ultimos 6 Meses"
   ClientHeight    =   1755
   ClientLeft      =   45
   ClientTop       =   315
   ClientWidth     =   5805
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Moveable        =   0   'False
   ScaleHeight     =   1755
   ScaleWidth      =   5805
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin MSDataListLib.DataCombo cboAsesor 
      Bindings        =   "frmUltimos6Meses.frx":0000
      Height          =   312
      Left            =   240
      TabIndex        =   0
      Top             =   960
      Width           =   3492
      _ExtentX        =   6165
      _ExtentY        =   556
      _Version        =   393216
      Appearance      =   0
      BackColor       =   12648447
      ListField       =   "nombres"
      BoundColumn     =   "codigo_empleado"
      Text            =   ""
      Object.DataMember      =   "Nombres_EmpleadosN"
   End
   Begin VB.Image cmdImprimir 
      Height          =   480
      Left            =   4080
      MouseIcon       =   "frmUltimos6Meses.frx":0011
      MousePointer    =   99  'Custom
      Picture         =   "frmUltimos6Meses.frx":031B
      Top             =   840
      Width           =   480
   End
   Begin VB.Image cmdSalir 
      Height          =   480
      Left            =   4920
      MouseIcon       =   "frmUltimos6Meses.frx":0BE5
      MousePointer    =   99  'Custom
      Picture         =   "frmUltimos6Meses.frx":0EEF
      ToolTipText     =   "Salir de esta pantalla"
      Top             =   840
      Width           =   480
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Produccion Ultimos 6 Meses"
      BeginProperty Font 
         Name            =   "Times New Roman"
         Size            =   12
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   240
      TabIndex        =   2
      Top             =   120
      Width           =   5295
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "Codigo Asesor"
      Height          =   252
      Left            =   240
      TabIndex        =   1
      Top             =   720
      Width           =   1452
   End
End
Attribute VB_Name = "frmUltimos6Meses"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cboAsesor_KeyDown(KeyCode As Integer, Shift As Integer)
HacerTab KeyCode
End Sub

Private Sub CmdCancelar_Click()
        Unload Me
End Sub

Private Sub cmdImprimir_Click()
        If cboAsesor.BoundText = "" Then Exit Sub
        RutaReportes = DE.rsGENCParametros.Fields("RUTA_REPORTES")
        MDI.reporte.StoredProcParam(0) = cboAsesor.BoundText
      If VENTAS = "SI" Then
        Imprimir RutaReportes & "produccionUltimos6Meses.rpt", "", "", "", ""
        Else
        Imprimir RutaReportes & "produccionUltimos6MesesAdm.rpt", "", "", "", ""
      End If
End Sub

Private Sub cmdSalir_Click()
    Unload Me
End Sub
